package com.ruoyi.web.xxj.domain.pojo;

import java.math.BigDecimal;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class WXRefundOrderReq {
    /**
     * 微信支付订单号，微信支付订单号和商家订单号二选一
     */
    @Schema(description = "微信支付订单号")
    private String transactionId;

    /**
     * 商家订单号，对应 out_trade_no，
     */
    @Schema(description = "商家订单号")
    private String orderNo;

    /**
     * 商户退款单号，对应out_refund_no
     */
    @Schema(description = "商户退款单号")
    private String outRefundNo;

    /**
     * 退款原因，选填
     */
    @Schema(description = "退款原因")
    private String reason;

    /**
     * 回调地址
     */
    @Schema(description = "回调地址")
    private String notify;

    /**
     * 退款金额
     */
    @Schema(description = "退款金额")
    private BigDecimal refundMoney;

    /**
     * 原订单金额，必填
     */
    @Schema(description = "原订单金额")
    private BigDecimal totalMoney;
}
